package ${package}.config;

import com.ishansong.config.client.common.annotations.DisconfItem;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * disconf配置
 * Created by sid on 17/11/27.
 */
@Service
public class ConfigService {

    @Value(value = "0")
    private Integer mobileBarSwitch;

    @DisconfItem(key = "mobile_bar_switch")
    public Integer getMobileBarSwitch() {
        return mobileBarSwitch;
    }

}
